package server;

import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.Serializable;

public class ImageResult implements Serializable{
	private String title, description, size, compressionUsed;
	private byte[] thumbnail;
	
	public ImageResult(String title, String description, String size, String compression, byte[] thumbNail){
		this.title = title;
		this.description = description;
		this.size = size;
		this.compressionUsed = compression;
		this.thumbnail = thumbNail;
	}
	
	public byte[] getThumbNail(){
		return thumbnail;
	}
	
	public String getTitle(){
		return this.title;
	}
	
	public String getDescription(){
		return this.description;
	}
	
	public String getFileSize(){
		return this.size;
	}
	
	public String getCompressionUsed(){
		return this.compressionUsed;
	}
	
	public String toString(){
		return this.title;
	}
}
